package vesko1.model;

import java.util.Date;

public class Insurance {

    private String carNumber;
    private int numberOfPayments;
    private Date dateIssued;
    private boolean isDriverNotified;
    private String company;
    private String policy;
    private Date validFrom;
    private Date validTo;
    private String greenCardNumber;
    private float premia;
    private float grajdanskiFond;
    private String stickerNumber;

    public Insurance(String carNumber, int numberOfPayments, Date dateIssued,
            boolean isDriverNotified, String company, String policy,
            Date validFrom, Date validTo, String greenCardNumber,
            float premia, float grajdanskiFond, String stickerNumber) {
        this.carNumber = carNumber;
        this.numberOfPayments = numberOfPayments;
        this.dateIssued = dateIssued;
        this.isDriverNotified = isDriverNotified;
        this.company = company;
        this.policy = policy;
        this.validFrom = validFrom;
        this.validTo = validTo;
        this.greenCardNumber = greenCardNumber;
        this.premia = premia;
        this.stickerNumber = stickerNumber;
        this.grajdanskiFond = grajdanskiFond;
    }

    public void setStickerNumber(String stickerNumber) {
        this.stickerNumber = stickerNumber;
    }

    public String getStickerNumber() {
        return stickerNumber;
    }

    public void setIsDriverNotified(boolean isDriverNotified) {
        this.isDriverNotified = isDriverNotified;
    }

    public boolean isIsDriverNotified() {
        return isDriverNotified;
    }

    public void setGrajdanskiFond(float grajdanskiFond) {
        this.grajdanskiFond = grajdanskiFond;
    }

    public void setPremia(float premia) {
        this.premia = premia;
    }

    public float getGrajdanskiFond() {
        return grajdanskiFond;
    }

    public float getPremia() {
        return premia;
    }

    public String getCarNumber() {
        return carNumber;
    }

    public String getCompany() {
        return company;
    }

    public Date getDateIssued() {
        return dateIssued;
    }

    public String getGreenCardNumber() {
        return greenCardNumber;
    }

    public int getNumberOfPayments() {
        return numberOfPayments;
    }

    public String getPolicy() {
        return policy;
    }

    public Date getValidFrom() {
        return validFrom;
    }

    public Date getValidTo() {
        return validTo;
    }

    public void setCarNumber(String carNumber) {
        this.carNumber = carNumber;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public void setDateIssued(Date dateIssued) {
        this.dateIssued = dateIssued;
    }

    public void setGreenCardNumber(String greenCardNumber) {
        this.greenCardNumber = greenCardNumber;
    }

    public void setNumberOfPayments(int numberOfPayments) {
        this.numberOfPayments = numberOfPayments;
    }

    public void setPolicy(String policy) {
        this.policy = policy;
    }

    public void setValidFrom(Date validFrom) {
        this.validFrom = validFrom;
    }

    public void setValidTo(Date validTo) {
        this.validTo = validTo;
    }

    public String toString() {
        return "Insurance{" + "numberOfPayments=" + numberOfPayments + ", dateIssued=" + dateIssued + ", carNumber=" + carNumber + ", company=" + company + ", policy=" + policy + ", validFrom=" + validFrom + ", validTo=" + validTo + ", greenCardNumber=" + greenCardNumber + '}';
    }
}
